AmeliaBooking\Application\Services\Reservation\AbstractReservationService D

Total Complexity 153
Dependencies 37
Dependents 0
Total lines 1,002
Lines of code 602
Logical lines of code 284
Comment lines 201
Methods 17
Properties 1

Methods 17

Method Rating Maintainability Complexity Lines of code
finalize()
C
32 21 115
processBooking()
B
35 22 78
processRequest()
B
37 22 66
addPayment()
B
38 22 64
getPaymentAmount()
A
44 16 39
runPostBookingActions()
A
42 10 57
calculateDepositAmount()
A
53 9 24
getSuccessBookingResponse()
A
41 5 64
getWcStatus()
S
59 7 12
getResultData()
S
55 5 21
deleteReservation()
S
55 5 20
inspectMinimumCancellationTime()
S
62 2 12
setToken()
S
68 2 7
deleteUserIfNew()
S
71 2 6
manageException()
S
69 1 7
getNew()
S
68 1 7
__construct()
S
81 1 3